html5 video source code [closed]

Posted by Jeeva Nandhan on Programmers See other posts from Programmers or by Jeeva Nandhan
Published on 2012-07-05T20:49:10Z Indexed on 2012/07/05 21:23 UTC
Read the original article Hit count: 195

Filed under:
|

!DOCTYPE html>

This is my vid.html file and my video1.js file is given below

the .java file is

public class MyWebAppActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); WebView myWeb=(WebView) findViewById(R.id.webView1); myWeb.getSettings().setJavaScriptEnabled(true); myWeb.setWebChromeClient(new WebChromeClient()); myWeb.loadUrl("file:///android_assets/www/vid.html");}}

Am receiving an error in emulator that Web page not available in the file:///android_assets/www/vid.html

© Programmers or respective owner

Related posts about android

Related posts about html5